package com.eastfair.venuebooking.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * The type Contact query.
 *
 * @author dqq
 * @date 2022 /6/24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
public class ContactQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 联系人名称
     */
    @ApiModelProperty(value = "联系人名称")
    private String contactName;
    /**
     * 性别，尊称
     */
    @ApiModelProperty(value = "性别，尊称")
    private String gender;
    /**
     * 角色
     */
    @ApiModelProperty(value = "角色")
    private String role;
    /**
     * 生日
     */
    @ApiModelProperty(value = "生日")
    private LocalDate birthday;
    /**
     * 岗位
     */
    @ApiModelProperty(value = "岗位")
    private String post;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String mobile;
    /**
     * 固定电话
     */
    @ApiModelProperty(value = "固定电话")
    private String phone;
    /**
     * 传真
     */
    @ApiModelProperty(value = "传真")
    private String fax;
    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String mail;
    /**
     * 微信账号
     */
    @ApiModelProperty(value = "微信账号")
    private String wechat;
    /**
     * qq号
     */
    @ApiModelProperty(value = "qq号")
    private String qq;
    /**
     * 所在地区
     */
    @ApiModelProperty(value = "所在地区")
    private String region;
    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址")
    private String address;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 关键字
     */
    @ApiModelProperty(value = "关键字")
    private String keyword;

    /**
     * 生日查询类型  today：今天；tomorrow：明天；this_week：本周；next_week：下周；this_month：本月；next_month：下月
     */
    @ApiModelProperty(value = "生日查询类型")
    private String birthdayQueryType;

    /**
     * 关联类型
     */
    @ApiModelProperty(value = "关联类型")
    private ContactRefQuery contactRefQuery;
}
